package com.atguigu.msmservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: guli_parent
 * @description:
 * @author: xuejingjing
 * @create: 2020-12-27 21:29
 **/
@ComponentScan({"com.atguigu"}) //指定扫描位置
//指定扫描包，主要扫描该包下的service,Respsitory,controller,component四个注解
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) //取消数据源自动配置
public class MsmApplication {
        public static void main(String[] args) {
            SpringApplication.run(MsmApplication.class,args);
        }
    }
